<template>
  <div class="container">
    <data-view
      ref="dataView"
      propViewKey="wm_transfer_return"
      propViewForm="wm/transfer-return/detail.vue"
      :propShowToolBar="true"
      :propFlowKey="propFlowKey"
      :propPreQueryWrapper = "cpChildViewQueryWrapper"
      :propIsTdesign="true"
    />
  </div>
</template>

<script>

export default {
  name: 'transferReturn',
  data() {
    return {
      type: 'returnIn' //退货入库
    }
  },
  computed: {
    cpChildViewQueryWrapper() {
      let wrapper = this.$newWrapper()
      wrapper.eq('type', this.constCommon.dictType.wmInOrderTypeInDeptReturn)
      return wrapper
    }
  },
  methods: {
  },
  props: ['propFlowKey', 'propParameter'],
}
</script>

<style lang="scss" scoped>
  .container {
    height: 100%;
    background-color: #fff;
  }
</style>
